﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Oak.Base
{
    public interface ISession
    {

        /// <summary>
        /// SessionKey
        /// </summary>
        string SessionKey { get; }

        /// <summary>
        /// 是否登录
        /// </summary>
        bool IsLogin { get; }

        /// <summary>
        /// 是否是管理员
        /// </summary>
        bool IsAdmin { get; }

        /// <summary>
        /// 是否是超级管理员
        /// </summary>
        bool IsSuperAdmin { get; }

        /// <summary>
        /// 账号ID
        /// </summary>
        long AccountId { get; }
    }
}
